class Hours {

    int openMorning
    int closeMorning
    int openAfternoon
    int closeAfternoon
    boolean standard

    static constraints = {
        openMorning(nullable:false)
        closeMorning(nullable:true)
        openAfternoon(nullable:true)
        closeAfternoon(nullable:false)
    }
}
